package com.t26.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author Whenlean
 * @since 2021-06-12
 */
@ApiModel(value="App_category对象", description="")
public class App_category implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "分类编码")
    @TableField("categoryCode")
    private String categoryCode;

    @ApiModelProperty(value = "分类名称")
    @TableField("categoryName")
    private String categoryName;

    @ApiModelProperty(value = "父级节点id")
    @TableField("parentId")
    private Long parentId;

    @ApiModelProperty(value = "创建者")
    @TableField("createdBy")
    private Long createdBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("creationTime")
    private Date creationTime;

    @ApiModelProperty(value = "更新者")
    @TableField("modifyBy")
    private Long modifyBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("modifyDate")
    private Date modifyDate;

    @TableLogic(delval = "1",value = "0")
    @ApiModelProperty(value = "状态")
    @TableField("isActive")
    private Integer isActive;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public Long getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Long modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Integer getIsActive() {
        return isActive;
    }

    public void setIsActive(Integer isActive) {
        this.isActive = isActive;
    }

    @Override
    public String toString() {
        return "App_category{" +
        "id=" + id +
        ", categoryCode=" + categoryCode +
        ", categoryName=" + categoryName +
        ", parentId=" + parentId +
        ", createdBy=" + createdBy +
        ", creationTime=" + creationTime +
        ", modifyBy=" + modifyBy +
        ", modifyDate=" + modifyDate +
        ", isActive=" + isActive +
        "}";
    }
}
